package com.beyondzy.shrio.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @TableName account
 */
@TableName(value = "account")
@Data
@Accessors(chain = true)
public class AccountDO {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    @TableField("username")
    private String username;

    /**
     *
     */
    @TableField("password")
    private String password;

    /**
     *
     */
    @TableField("perms")
    private String perms;

    /**
     *
     */
    @TableField("role")
    private String role;


}